using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;

namespace DarkOmen.Common
{
    public class Connection
    {
        #region Member Variables

        private byte[] _Buffer;
        private Guid   _PlayerGUID;
        private Socket _Socket;
        
        #endregion

        #region Delegates



        #endregion

        #region Events

        public event EventHandler RecievedData;
        public event EventHandler SendData;
        public event EventHandler Connected;

        #endregion

        public event EventHandler Authenticated;

        #region Properties

        public Socket Socket
        {
            get { return _Socket;  }
            set { _Socket = value; }
        }

        public Guid PlayerGUID
        {
            get{ return _PlayerGUID;   }
            set { _PlayerGUID = value; }
        }

        public byte[] Buffer
        {
            get { return _Buffer;  }
            set { _Buffer = value; }
        }

        #endregion 

        #region Public Methods

        public void OnRecievedData()
        {
            throw new System.NotImplementedException();
        }

        public void OnSendData()
        {
            throw new System.NotImplementedException();
        }
       
        #endregion

        public void OnAuthenticated()
        {
            throw new System.NotImplementedException();
        }
    }
}